package dreamtwodancetiktokenumsmysql

const (
	DanceEggCat = 1 //猫
	DanceEggElf = 2 // 小精灵
)

type DanceEggEnums struct {
}

var DanceEggEnumsObject DanceEggEnums

func (d DanceEggEnums) ConditionsType() []int {
	return []int{
		DanceEggCat,
		DanceEggElf,
	}
}

func (d DanceEggEnums) ConditionsTypeMap() map[int]string {
	m := make(map[int]string)
	for _, s := range d.ConditionsType() {
		m[s] = d.ConditionsTypeString(s)
	}
	return m
}

func (d DanceEggEnums) ConditionsTypeString(tag int) string {
	switch tag {
	case DanceEggCat:
		return "猫"
	case DanceEggElf:
		return "小精灵"
	default:
		return "猫"
	}
}
